package com.example.exam.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-03-28
 */
@TableName("exam.user_roles")
@Data
public class Roles implements Serializable {
    public static final Integer ADMIN = 1;
    public static final Integer TEACHER = 2;
    public static final Integer STUDENT = 3;
    @TableId(value = "user_id")
    private Integer id;
    @TableField(value = "role_id")
    private Integer roles;


}
